Check if a Number is a Prime Number